Mouse Pressed
fun MousePressed(location: Point, locationOnScreen: Point = Point.empty(), button: <Error class: unknown class> = MouseButton.MOUSE_BUTTON_UNSPECIFIED, keyModifiers: KeyModifiers = KeyModifiers(), mouseModifiers: MouseModifiers = MouseModifiers(), clickCount: Int = 0): MousePressed
fun MousePressed(location: Point, locationOnScreen: Point = Point.empty(), button: <Error class: unknown class> = MouseButton.MOUSE_BUTTON_UNSPECIFIED, keyModifiers: KeyModifiers = KeyModifiers(), mouseModifiers: MouseModifiers = MouseModifiers(), clickCount: Int = 0): MousePressed
Creates a new instance of MousePressed with the given parameters.
Since
8.0.0
Parameters
location
The mouse position relative to the bounds of the browser instance.
location On Screen
The mouse position relative to the bounds of the screen.
button
The button that was pressed.
key Modifiers
The keyboard modifiers applied.
mouse Modifiers
The mouse modifiers applied.
click Count
The count of consecutive clicks that happened in a short amount of time.